package com.lyc.user.bean;

import java.util.Date;

public class User {

	private int id;//编号
	private int uid;//用户编号
	private String account;//账号
	private String pwd;//密码
	private String phone;//电话号码
	private String veriCode;//验证码
	private Date vericodeTime;//验证码失效的时间
	private String createTime;//账号注册的时间
	private String nickName;//昵称
	private int state;//账号的状态
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getVeriCode() {
		return veriCode;
	}
	public void setVeriCode(String veriCode) {
		this.veriCode = veriCode;
	}
	public Date getVericodeTime() {
		return vericodeTime;
	}
	public void setVericodeTime(Date vericodeTime) {
		this.vericodeTime = vericodeTime;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public User() {
		super();
	}

	@Override
	public String toString() {
		return "User{" +
				"id=" + id +
				", account='" + account + '\'' +
				", pwd='" + pwd + '\'' +
				", phone='" + phone + '\'' +
				", veriCode='" + veriCode + '\'' +
				", vericodeTime=" + vericodeTime +
				", createTime='" + createTime + '\'' +
				", nickName='" + nickName + '\'' +
				", state=" + state +
				'}';
	}

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }
}
